// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import "babel-polyfill"
import Vue from 'vue'
import App from './App'
import router from './router'

Vue.config.productionTip = false

// element ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);


// vue resource
import VueResource from 'vue-resource'
Vue.use(VueResource)

// 生产数据库
// Vue.prototype.domain = 'http://47.96.125.181:8848'
// 测试环境
Vue.prototype.domain = 'http://127.0.0.1:8848'


import '@/assets/css/style.css'

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
